<?php 
include ('../inc/application_settings.php');

if ($_REQUEST['T'] != 'ADMIN')
	include ('./website/website.php');
else {
	if (!isset($_COOKIE['EMAIL']) || !isset($_COOKIE['PASSWORD']))
		include ('./admin/login.php');
	else if (isset($_COOKIE['EMAIL']) and isset($_COOKIE['PASSWORD']))
		include('./admin/admin.php');
}

?>